<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />


<input type="hidden" name="zh_parsen/fzr_name"
       value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/>" />
<input type="hidden" name="zh_parsen/fzr_mobile"
       value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile"/>" />
<input type="hidden" name="zh_parsen/fzr_tel"
       value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work"/>" />
<input type="hidden" name="zh_parsen/fzr_email"
       value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email"/>" />
<div class="t_bar">中心及依托单位基本情况</div>
<table class="t_css" width="100%" id="table_01">
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <tr>
        <td align="right"><span class="color_red">*</span>拟建名称：</td>
        <td colspan="2">
            <input type='text' name='proposal/zh_title' id='zh_title'
                   class="input_css required" maxlength="50"
                   value='<x:out select="$xmlData/data/proposal/zh_title"/>' label="拟建名称">安徽省基础学科研究中心
        </td>
        <td align="right"><span class="color_red">*</span>技术领域：</td>
        <td  colspan="2">
            <c:set var="applicant_subject6_value"><x:out select="$xmlData/data/proposal/applicant_subject6_value" /></c:set>
            <input name="proposal/applicant_subject6_value"  type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject6_value" />" />
            <input name="proposal/applicant_subject6_name" class="required" label="技术领域" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject6_name" />" />
            <cpt:select style="width: 100px;" id="applicant_subject6" key="zdsys1" className="selectWidth2" onChange="initControlValue('applicant_subject6'); diagnose()" value="${applicant_subject6_value}"></cpt:select>
        </td>
    </tr>
    <tr>
        <td align="right"><span class="color_red">*</span>学科领域：</td>
        <td colspan="2">
            <c:set var="applicant_subject_value"><x:out select="$xmlData/data/proposal/applicant_subject_value" /></c:set>
            <input name="proposal/applicant_subject_value" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject_value" />" />
            <input name="proposal/applicant_subject_name" class="required" label="学科领域" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject_name" />" />
            <cpt:select  style="width: 90px;" id="applicant_subject" key="discipline_field" className="selectWidth2" onChange="initControlValue('applicant_subject');diagnose()"  value="${applicant_subject_value}"></cpt:select>
        </td>
        <td align="right"><span class="color_red">*</span>是否属于一流、高峰（培育）学科：</td>
        <td  colspan="2">
            <c:set var="economic_type_value">
                <x:out select="$xmlData/data/proposal/economic_type_value" />
            </c:set>
            <c:set var="economic_type_other">
                <x:out select="$xmlData/data/proposal/economic_type_other" />
            </c:set>
            <cpt:checkbox key="peak" name="economic_type"
                          width="25%" repeatColumn="3" value="${economic_type_value }"
                          lastOther="true" otherId="economic_type_other" tagType="radio"
                          otherValueName="${economic_type_other }"></cpt:checkbox>
            <input type="text" id="economic_type_other"
                   name="proposal/economic_type_other" maxlength="20"
                   style="border: none; border-bottom: 1px solid gray; width: 100px;"
                   label="是否属于一流、高峰（培育）学科-->其他"
                   value="<x:out select="$xmlData/data/proposal/economic_type_other"/>" />
            <input type="hidden" id="economic_type_value"
                   name="proposal/economic_type_value" class="required"
                   value="${economic_type_value}" label="是否属于一流、高峰（培育）学科">
            <input type="hidden" name="proposal/economic_type_name"
                   value="<x:out select="$xmlData/data/proposal/economic_type_name" />" />
        </td>
    </tr>
      <tr>
          <td align="right"><span class="color_red">*</span>归口管理部门：</td>
          <td colspan="5">
              <c:set var="recomend_org">{'id':'<x:out
                      select="$xmlData/data/proposal/recomend_org_value" />','name':'<x:out
                      select="$xmlData/data/proposal/recomend_org_name" />'}</c:set>
              <cpt:tree key="recommended_org" cacheable="false" className="hn_iuput_kuang "
                  readonly="true" value="${recomend_org}" label="归口管理部门" id="recomend_org"
                  onlyChooseLeaf="false" showPattern="all" shieldPattern="0" topCheckbox="true"
                  onClick="initTreeValueExt" />
              <input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value"
                  class="required"
                  value="<x:out select="$xmlData/data/proposal/recomend_org_value" />" label="归口管理部门">
              <input type="hidden" name="proposal/recomend_org_name"
                  value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
          </td>
      </tr>
    <tr>
        <td rowspan="3" align="right">中心主任：</td>
        <td align="right">姓名：</td>
        <td>
            <span name="proposal/fzr_psnname"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/></span>
        </td>
        <td align="right">出生日期：</td>
        <td colspan="2">
            <span name="proposal/fzr_birthday"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/birthday"/></span>

        </td>
    </tr>
    <tr>
        <td align="right">职称：</td>
        <td>
            <span name="proposal/fzr_prof_title_name"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/prof_title_name"/></span>
        </td>
        </td>
        <td align="right">职务：</td>
        <td colspan="2">
            <span name="proposal/fzr_position"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/position"/></span>

        </td>
    </tr>
    <tr>
        <td align="right">专业专长：</td>
        <td>
            <span name="proposal/fzr_major_work"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/major_work"/></span>

        </td>
        <td align="right">最高学位 ：</td>
        <td colspan="2">
            <span name="proposal/fzr_degree_name"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/degree_name"/></span>

        </td>
    </tr>
    <tr>
        <td rowspan="3" align="right"><span class="color_red">*</span>联系人：</td>
        <td align="right">姓名：</td>
        <td >
            <input type="text" label="联系人-->姓名" name="proposal/contact_psn_cname"
                   class="input_css required" maxlength="50"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />">
        </td>
        <td align="right">手机号码：</td>
        <td colspan="2">
            <input type="text" label="联系人-->手机号码" name="proposal/contact_psn_mobile"
                   class="input_css required mobile" onfocus="InitInput.setNumber(this,11,0,0)"
                   maxlength="11"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />">
        </td>
    </tr>
    <tr>
        <td align="right">邮箱：</td>
        <td >
            <input type="text" label="联系人-->邮箱" name="proposal/contact_psn_email"
                   class="input_css required email" maxlength="30"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_email" />">
        </td>
        <td align="right">传真：</td>
        <td colspan="2">
            <input type="text" label="联系人-->传真" name="proposal/contact_psn_fax"
                   class="input_css required "
                   maxlength="100"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_fax" />">
        </td>
    </tr>
    <tr>
        <td align="right">通讯地址：</td>
        <td colspan="4">
            <input type="text" label="联系人-->通讯地址" name="proposal/contact_psn_address"
                   class="input_css required" maxlength="100"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_address" />">
        </td>
    </tr>
</table>

<table class="t_css" width="100%" id="table_02" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 14%" />
    <col style="width: 14%" />
    <col style="width: 13%" />
    <col style="width: 13%" />
    <col style="width: 13%" />
    <col style="width: 13%" />

    <tr>
        <td colspan="2" rowspan="2"><span class="color_red">*</span>近五年来承担课题</td>
        <td colspan="6">其中</td>
    </tr>
    <tr>
        <td colspan="2">国家级项目</td>
        <td colspan="2">省部级项目</td>
        <td colspan="2">横向课题</td>
    </tr>
    <tr>
        <td rowspan="7">
            年度实到经费
        </td>
        <td>年度</td>
        <td>项目（项）</td>
        <td>经费（万元）</td>
        <td>项目（项）</td>
        <td>经费（万元）</td>
        <td>项目（项）</td>
        <td>经费（万元）</td>
    </tr>
    <tr>

        <td align="center" ><span name="proposal/topic_level1_year1">${statYear-1}</span>年</td>

        <td>
            <input name="proposal/topic_level1_year1_count" id="topic_level1_year1_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->国家级项目-->项目中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year1_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level1_year1_fund" id="topic_level1_year1_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->国家级项目-->经费中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year1_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year1_count" id="topic_level2_year1_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->省部级项目-->项目中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year1_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year1_fund" id="topic_level2_year1_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->省部级项目-->经费中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year1_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year1_count" id="topic_level3_year1_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->横向课题-->项目中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year1_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year1_fund" id="topic_level3_year1_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->横向课题-->经费中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year1_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>


        <td align="center" ><span name="proposal/topic_level1_year2">${statYear-2}</span>年</td>



        <td>
            <input name="proposal/topic_level1_year2_count" id="topic_level1_year2_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->国家级项目-->项目中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year2_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level1_year2_fund" id="topic_level1_year2_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->国家级项目-->经费中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year2_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year2_count" id="topic_level2_year2_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->省部级项目-->项目中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year2_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year2_fund" id="topic_level2_year2_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->省部级项目-->经费中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year2_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year2_count" id="topic_level3_year2_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->横向课题-->项目中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year2_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year2_fund" id="topic_level3_year2_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->横向课题-->经费中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year2_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>

        <td align="center" ><span name="proposal/topic_level1_year3">${statYear-3}</span>年</td>

        <td>
            <input name="proposal/topic_level1_year3_count" id="topic_level1_year3_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->国家级项目-->项目中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year3_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level1_year3_fund" id="topic_level1_year3_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->国家级项目-->经费中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year3_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year3_count" id="topic_level2_year3_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->省部级项目-->项目中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year3_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year3_fund" id="topic_level2_year3_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->省部级项目-->经费中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year3_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year3_count" id="topic_level3_year3_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->横向课题-->项目中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year3_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year3_fund" id="topic_level3_year3_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->横向课题-->经费中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year3_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>
        <td align="center" ><span name="proposal/topic_level1_year4">${statYear-4}</span>年</td>

        <td>
            <input name="proposal/topic_level1_year4_count" id="topic_level1_year4_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->国家级项目-->项目中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year4_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level1_year4_fund" id="topic_level1_year4_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->国家级项目-->经费中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year4_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year4_count" id="topic_level2_year4_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->省部级项目-->项目中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year4_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year4_fund" id="topic_level2_year4_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->省部级项目-->经费中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year4_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year4_count" id="topic_level3_year4_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->横向课题-->项目中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year4_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year4_fund" id="topic_level3_year4_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->横向课题-->经费中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year4_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>
        <td align="center" ><span name="proposal/topic_level1_year5">${statYear-5}</span>年</td>

        <td>
            <input name="proposal/topic_level1_year5_count" id="topic_level1_year5_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->国家级项目-->项目中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year5_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level1_year5_fund" id="topic_level1_year5_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->国家级项目-->经费中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year5_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year5_count" id="topic_level2_year5_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->省部级项目-->项目中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year5_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year5_fund" id="topic_level2_year5_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->省部级项目-->经费中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year5_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year5_count" id="topic_level3_year5_count"
                   class="required" label="近五年来承担课题-->年度实到经费-->横向课题-->项目中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year5_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year5_fund" id="topic_level3_year5_fund"
                   class="required" label="近五年来承担课题-->年度实到经费-->横向课题-->经费中第四行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year5_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>
        <td>合计</td>
        <td>
            <input name="proposal/topic_level1_total_count" id="topic_level1_total_count" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_total_count" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
        <td>
            <input name="proposal/topic_level1_total_fund" id="topic_level1_total_fund" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_total_fund" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
        <td>
            <input name="proposal/topic_level2_total_count" id="topic_level2_total_count" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_total_count" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
        <td>
            <input name="proposal/topic_level2_total_fund" id="topic_level2_total_fund" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_total_fund" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
        <td>
            <input name="proposal/topic_level3_total_count" id="topic_level3_total_count" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_total_count" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
        <td>
            <input name="proposal/topic_level3_total_fund" id="topic_level3_total_fund" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_total_fund" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" id="table_03" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="6"><span class="color_red">*</span>近五年研究成果</td>
        <td rowspan="3">
            获奖<br />（项）
        </td>
        <td colspan="2">国家科技奖</td>
        <td colspan="3">省级科技奖</td>
        <td colspan="3">其他类型科技奖</td>
    </tr>
    <tr>
        <td>一等</td>
        <td>二等</td>
        <td>一等</td>
        <td>二等</td>
        <td>三等</td>
        <td>一等</td>
        <td>二等</td>
        <td>三等</td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_findings_winning_status1_level1" class="required"
                   label="近五年研究成果-->获奖-->国家科技奖-->一等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status1_level1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status1_level2" class="required"
                   label="近五年研究成果-->获奖-->国家科技奖-->二等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status1_level2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status2_level1" class="required"
                   label="近五年研究成果-->获奖-->省级科技奖-->一等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status2_level2" class="required"
                   label="近五年研究成果-->获奖-->省级科技奖-->二等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status2_level3" class="required"
                   label="近五年研究成果-->获奖-->省级科技奖-->三等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level3" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status3_level1" class="required"
                   label="近五年研究成果-->获奖-->其他类型科技奖-->一等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status3_level2" class="required"
                   label="近五年研究成果-->获奖-->其他类型科技奖-->二等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status3_level3" class="required"
                   label="近五年研究成果-->获奖-->其他类型科技奖-->三等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level3" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
    <tr>
        <td rowspan="2">
            论文<br />（篇）
        </td>
        <td>SCI</td>
        <td>EI</td>
        <td>核心</td>
        <td rowspan="2">发明专利（件）</td>
        <td>申报</td>
        <td>
            <input name="proposal/research_findings_paper_status1" class="required"
                   label="近五年研究成果-->发明专利-->申报"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td rowspan="2">专著（部）</td>
        <td rowspan="2">
            <input name="proposal/research_findings_paper_status2" class="required"
                   label="近五年研究成果-->专著"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_findings_paper_status3" class="required"
                   label="近五年研究成果-->论文-->SCI"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status3" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_paper_status4" class="required"
                   label="近五年研究成果-->论文-->EI"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status4" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_paper_status5" class="required"
                   label="近五年研究成果-->论文-->核心"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status5" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>授权</td>
        <td>
            <input name="proposal/research_findings_paper_status6" class="required"
                   label="近五年研究成果-->发明专利-->授权"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status6" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
    <tr>
        <td colspan="2">技术转让（项）</td>
        <td colspan="2">
            <input name="proposal/research_findings_technology_transfer" class="required"
                   label="近五年研究成果-->技术转让"
                   value="<x:out select="$xmlData/data/proposal/research_findings_technology_transfer" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td colspan="3">技术转让收益（万元）</td>
        <td colspan="2">
            <input name="proposal/research_findings_technology_transfer_fund" class="required"
                   label="近五年研究成果-->技术转让收益"
                   value="<x:out select="$xmlData/data/proposal/research_findings_technology_transfer_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
</table>
<table class="t_css" width="100%" id="table_04" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="2"><span class="color_red">*</span>研究队伍</td>
        <td>总数</td>
        <td>国家级人才</td>
        <td>省级人才</td>
        <td>高级职称</td>
        <td>其中博士</td>
        <td>其中硕士</td>
        <td>35岁以下</td>
        <td>35-50岁</td>
        <td>50岁以上</td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_team_total" class="gray" id="research_team_total"
                   value="<x:out select="$xmlData/data/proposal/research_team_total" />"
                   style="text-align: right; width: 80%; " onfocus="InitInput.setNumber(this,9,0,0)" disabled
            />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas1" id="research_team_count_stutas1"
                   class="required valueGreatEqual:research_team_total:research_team_count_stutas1" label="研究队伍-->国家级人才"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas2" id="research_team_count_stutas2"
                   class="required valueGreatEqual:research_team_total:research_team_count_stutas2" label="研究队伍-->省级人才"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas3" id="research_team_count_stutas3"
                   class="required  valueGreatEqual:research_team_total:research_team_count_stutas3" label="研究队伍-->高级职称"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas3" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas4" id="research_team_count_stutas4"
                   class="required valueGreatEqual:research_team_total:research_team_count_stutas4" label="研究队伍-->其中博士"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas4" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas5" id="research_team_count_stutas5"
                   class="required valueGreatEqual:research_team_total:research_team_count_stutas5" label="研究队伍-->其中硕士"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas5" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas6" id="research_team_count_stutas6"
                   class="required" label="研究队伍-->35岁以下"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas6" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas7" id="research_team_count_stutas7"
                   class="required" label="研究队伍-->35-50岁"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas7" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas8" id="research_team_count_stutas8"
                   class="required" label="研究队伍-->50岁以上"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas8" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" style="text-align: center;" id="table_05">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="2"><span class="color_red">*</span>科研基础</td>
        <td>
            研究单元数
        </td>
        <td colspan="2">
            研究中心面积<br />（平方米）
        </td>
        <td colspan="2">
            仪器设备总值<br />（万元）
        </td>
        <td colspan="2">大型设备（台/套）</td>
        <td colspan="2">
            近三年经费投入<br />（万元）
        </td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_base_stutas1" class="required"
                   label="科研基础-->研究单元数"
                   value="<x:out select="$xmlData/data/proposal/research_base_stutas1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td colspan="2">
            <input name="proposal/research_base_stutas2" class="required"
                   label="科研基础-->研究中心面积"
                   value="<x:out select="$xmlData/data/proposal/research_base_stutas2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td colspan="2">
            <input name="proposal/research_base_stutas3" class="required"
                   label="科研基础-->仪器设备总值"
                   value="<x:out select="$xmlData/data/proposal/research_base_stutas3" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td colspan="2">
            <input name="proposal/research_base_stutas4" class="required"
                   label="科研基础-->大型设备"
                   value="<x:out select="$xmlData/data/proposal/research_base_stutas4" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td colspan="2">
            <input name="proposal/research_base_stutas5" class="required"
                   label="科研基础-->近三年经费投入"
                   value="<x:out select="$xmlData/data/proposal/research_base_stutas5" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" id="table_06">
    <col style="width: 9%;" />
    <col style="width: 16%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 20%;" />

    <tr>
        <td rowspan="4" align="right">依托单位：</td>
        <td align="right">单位名称：</td>
        <td>
            <span name="organizations/organization/org_name"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_name" /></span>
        </td>
        <td align="right"><span class="color_red">*</span>单位性质：</td>
        <td colspan="2">
            <c:set var="unit_natures_value">
                <x:out select="$xmlData/data/proposal/unit_natures_value" />
            </c:set>
            <cpt:checkbox key="unit_natures" name="unit_natures" width="25%" repeatColumn="2" value="${unit_natures_value}" lastOther="true" tagType="radio"></cpt:checkbox>
            <input type="hidden" id="unit_natures_value" name="proposal/unit_natures_value" class="required" value="${unit_natures_value}" label="单位性质">
            <input type="hidden" name="proposal/unit_natures_name" value="<x:out select="$xmlData/data/proposal/unit_natures_name" />" />
        </td>
    </tr>
    <tr>
        <td align="right">法定代表人：</td>
        <td>
           <span name="organization_persons/cname">
				<x:out select="$xmlData/data/organization_persons/person[@type='faren']/cname" />
		    </span>
        </td>
        </td>
        <td align="right">证件类型：</td>
        <td colspan="2">
            <span name="organization_persons/id_type_name">
				<x:out select="$xmlData/data/organization_persons/person[@type='faren']/id_type_name" />
		    </span>
        </td>
    </tr>
    <tr>
        <td align="right">证件号码：</td>
        <td>
            <span name="organization_persons/id_no">
				<x:out select="$xmlData/data/organization_persons/person[@type='faren']/id_no" />
		    </span>
        </td>
        <td align="right"><span class="color_red">*</span>属地 ：</td>
        <td colspan="2">
            <c:set var="territoriality_value">
                <x:out select="$xmlData/data/proposal/territoriality_value" />
            </c:set>
            <cpt:checkbox key="territoriality" name="territoriality" width="25%" repeatColumn="2" value="${territoriality_value}" lastOther="true" tagType="radio"></cpt:checkbox>
            <input type="hidden" id="territoriality_value" name="proposal/territoriality_value" class="required" value="${territoriality_value}" label="属地">
            <input type="hidden" name="proposal/territoriality_name" value="<x:out select="$xmlData/data/proposal/territoriality_name" />" />
        </td>
    </tr>
    <tr>
        <td align="right">统一社会信用代码：</td>
        <c:set var="org_shxy_no">
            <x:out
                    select="$xmlData/data/organizations/organization[@submit_org='1']/org_shxy_no" />
        </c:set>
        <c:if test="${empty org_shxy_no }">
            <c:set var="org_shxy_no">
                <x:out
                        select="$xmlData/data/organizations/organization[@submit_org='1']/org_no" />
            </c:set>
        </c:if>
        <td>
            <span name="organizations/organization/org_no">${org_shxy_no}</span>
        </td>
        <td align="right">所在地市 ：</td>
        <td colspan="2">
            <span name="organizations/organization/area_name"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/area_name" /></span>
        </td>
    </tr>
</table>

<div class="t_bar">
    <span class="color_red">*</span>主要研究方向
</div>
<table id="eq_table1" class="t_css" width="100%">
    <col style="width: 5%" />
    <col style="width: 5%" />
    <col style="width: 90%" />
    <thead>
    <tr style="border: 1px solid #B7D1E6">
        <th class="TblHead" align="center">选择</th>
        <th class="TblHead" align="center">序号</th>
        <th class="TblHead" align="center">研究方向</th>
    </tr>
    </thead>
    <tbody id="tab">
    <tr style="display: none">
        <td align="center">
            <input type="radio" style="border: 0px; background-color: white;"
                   class="radiobutton" name="selButton1">
        </td>
        <td align="center">
            <span name="achievements|achievement[0]@seq_no">[index]</span>
        </td>
        <td align="center">
            <input type="text" name="achievements|achievement[0]|research_direction"
                   class="required" maxlength="60" style="width: 80%" label="研究方向" value="" />
        </td>
    </tr>


    <c:set value="0" var="index" scope="page" />
    <x:forEach select="$xmlData/data/achievements/achievement" var="achievement">
        <c:choose>
            <c:when test="${index<10}">
                <c:set value="0" var="flag" scope="page" />
            </c:when>
            <c:otherwise>
                <c:set value="" var="flag" scope="page" />
            </c:otherwise>
        </c:choose>
        <tr>
            <td align="center">
                <input type="radio" style="border: 0px; background-color: white;"
                       class="radiobutton" name="selButton1">
            </td>
            <td align="center">
                    <span name="achievements/achievement[${flag}${index}]@seq_no"><x:out
                            select="$achievement/@seq_no" /></span>
            </td>

            <td align="center">
                <input type="text"
                       name="achievements/achievement[${flag}${index}]/research_direction"
                       value="<x:out select="$achievement/research_direction" />" maxlength="60"
                       class="required" style="width: 80%" label="研究方向 " />
            </td>
        </tr>
        <c:set value="${index+1}" var="index" scope="page" />
    </x:forEach>
    </tbody>
</table>
<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加"
                   onclick="if(checkTabLimit('eq_table1',5,'主要研究方向 内容最多只能填写5条')){addNewRow('eq_table1');showDateTag('eq_table1');directions()}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移"
                   onclick="movePrev('eq_table1','selButton1');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移"
                   onclick="moveNext('eq_table1','selButton1');">
            <input class="button_02" name="cmddel" type=button value="删除"
                   onclick="deleteSelectedRow('eq_table1','主要研究方向');">
        </td>
    </tr>
</table>


<div class="t_bar">
    合作共建单位（最多2条）
</div>
<table id="eq_table2" class="table01 t_css" cellpadding="0"  width="100%" style="*border-bottom: #a1c0dc 1px solid;">
    <col style="width: 5%">
    <col style="width: 5%">
    <col style="width: 19%">
    <col style="width: 12%">
    <col style="width: 12%">
    <col style="width: 12%">
    <col style="width: 17%">
    <col style="width: 17%">
    <thead>
    <tr style="border: 1px solid #B7D1E6">
        <th class="TblHead" align="center">选择</th>
        <th class="TblHead" align="center">序号</th>
        <th class="TblHead" align="center">单位名称</th>
        <th class="TblHead" align="center">单位性质</th>
        <th class="TblHead" align="center">属地</th>
        <th class="TblHead" align="center">是否签订有效合作协议</th>
        <th class="TblHead" align="center">所在地市</th>
        <th class="TblHead" align="center">优势领域方向</th>
    </tr>
    </thead>
    <tbody id="tab1">
    <tr style="display: none">
        <td align="center">
            <input type="radio" style="border: 0px; background-color: white;"
                   class="radiobutton" name="selButton2">
        </td>
        <td align="center">
            <span name="org_hzs|org_hz[0]@seq_no">[index]</span>
        </td>
        <td align="center">
            <input type="text" name="org_hzs|org_hz[0]|org_hz_name"
                   class="required" maxlength="60" style="width: 80%" label="单位名称" value="" />
        </td>
        <td align="center" >
            <cpt:select id="unit_natures_[index]" key="unit_natures"  name="org_hzs|org_hz[0]|unit_natures" onChange="initControlValue(this.id);" style="width:80%"></cpt:select>
            <input type="hidden" name="org_hzs|org_hz[0]|unit_natures_value" class="required" label="单位性质" value=""/>
            <input type="hidden" name="org_hzs|org_hz[0]|unit_natures_name" value=""/>
        </td>
        <td align="center" >
            <cpt:select id="territoriality_[index]" key="territoriality"  name="org_hzs|org_hz[0]|territoriality" onChange="initControlValue(this.id);" style="width:80%"></cpt:select>
            <input type="hidden" name="org_hzs|org_hz[0]|territoriality_value" class="required" label="属地" value=""/>
            <input type="hidden" name="org_hzs|org_hz[0]|territoriality_name" value=""/>
        </td>
        <td align="center" >
            <cpt:select id="effective_agreement_[index]" key="effective_agreement"  name="org_hzs|org_hz[0]|effective_agreement" onChange="initControlValue(this.id);" style="width:50%"></cpt:select>
            <input type="hidden" name="org_hzs|org_hz[0]|effective_agreement_value" class="required" label="是否签订有效合作协议" value=""/>
            <input type="hidden" name="org_hzs|org_hz[0]|effective_agreement_name" value=""/>
        </td>
        <td align="center">
            <input type="text" name="org_hzs|org_hz[0]|org_hz_market"
                   class="required" maxlength="60" style="width: 80%" label="所在地市" value="" />
        </td>
        <td align="center">
            <input type="text" name="org_hzs|org_hz[0]|org_hz_direction"
                   class="required" maxlength="60" style="width: 80%" label="优势领域方向" value="" />
        </td>
    </tr>

    <c:set value="0" var="index" scope="page" />
    <x:forEach select="$xmlData/data/org_hzs/org_hz" var="org_hz">
        <c:choose>
            <c:when test="${index<10}">
                <c:set value="0" var="flag" scope="page" />
            </c:when>
            <c:otherwise>
                <c:set value="" var="flag" scope="page" />
            </c:otherwise>
        </c:choose>
        <tr>
            <td align="center">
                <input type="radio" style="border: 0px; background-color: white;"
                       class="radiobutton" name="selButton2">
            </td>
            <td align="center">
                    <span name="org_hzs/org_hz[${flag}${index}]@seq_no"><x:out
                            select="$org_hz/@seq_no" /></span>
            </td>
            <td align="center">
                <input type="text"
                       name="org_hzs/org_hz[${flag}${index}]/org_hz_name"
                       value="<x:out select="$org_hz/org_hz_name" />" maxlength="60"
                       class="required" style="width: 80%" label="合作单位名称 " />
            </td>
            <td align="center" >
                <c:set var="unit_natures_value"><x:out select="$org_hz/unit_natures_value" /></c:set>
                <cpt:select id="unit_natures_${index}" key="unit_natures" name="org_hzs/org_hz[${flag}${index}]/unit_natures" onChange="initControlValue(this.id);" value="${unit_natures_value }" style="width:80%"></cpt:select>
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/unit_natures_value" class="required" label="单位性质" value="<x:out select="$org_hz/unit_natures_value" />"/>
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/unit_natures_name" value="<x:out select="$org_hz/unit_natures_name" />"/>
            </td>

            <td align="center" >
                <c:set var="territoriality_value"><x:out select="$org_hz/territoriality_value" /></c:set>
                <cpt:select id="territoriality_${index}" key="territoriality" name="org_hzs/org_hz[${flag}${index}]/territoriality" onChange="initControlValue(this.id);" value="${territoriality_value }" style="width:80%"></cpt:select>
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/territoriality_value" class="required" label="属地" value="<x:out select="$org_hz/territoriality_value" />"/>
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/territoriality_name" value="<x:out select="$org_hz/territoriality_name" />"/>
            </td>
            <td align="center" >
                <c:set var="effective_agreement_value"><x:out select="$org_hz/effective_agreement_value" /></c:set>
                <cpt:select id="effective_agreement_${index}" key="effective_agreement" name="org_hzs/org_hz[${flag}${index}]/effective_agreement" onChange="initControlValue(this.id);" value="${effective_agreement_value }" style="width:50%"></cpt:select>
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/effective_agreement_value" class="required" label="是否签订有效合作协议" value="<x:out select="$org_hz/effective_agreement_value" />"/>
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/effective_agreement_name" value="<x:out select="$org_hz/effective_agreement_name" />"/>
            </td>
            <td align="center">
                <input type="text"
                       name="org_hzs/org_hz[${flag}${index}]/org_hz_market"
                       value="<x:out select="$org_hz/org_hz_market" />" maxlength="60"
                       class="required" style="width: 80%" label="所在地市 " />
            </td>
            <td align="center">
                <input type="text"
                       name="org_hzs/org_hz[${flag}${index}]/org_hz_direction"
                       value="<x:out select="$org_hz/org_hz_direction" />" maxlength="60"
                       class="required" style="width: 80%" label="优势领域方向" />
            </td>
        </tr>
        <c:set value="${index+1}" var="index" scope="page" />
    </x:forEach>
    </tbody>
</table>

<input type="hidden" id="number_seq" name="proposal/number_seq" value="<x:out select="$xmlData/data/proposal/number_seq" />">
<input type="hidden" id="number_seq2" name="proposal/number_seq2" value="<x:out select="$xmlData/data/proposal/number_seq2" />">


<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加"
                   onclick="if(checkTabLimit1('eq_table2',2,'合作共建单位内容最多只能填写2条')){addNewRow('eq_table2');showDateTag('eq_table2');directions()}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移"
                   onclick="movePrev('eq_table2','selButton2');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移"
                   onclick="moveNext('eq_table2','selButton2');">
            <input class="button_02" name="cmddel" type=button value="删除"
                   onclick="deleteSelectedRow('eq_table2','合作共建单位');">
        </td>
    </tr>
</table>
<script type="text/javascript">
    function directions() {
        $("table.t_css").each(function(){
            $(this).find("tr:even").addClass("li_1");
            $(this).find("tr:odd").addClass("li_2");
        });
    }

    //-------------计算合计------------------begin
    $('#topic_level1_year1_count,#topic_level1_year2_count,#topic_level1_year3_count,#topic_level1_year4_count,#topic_level1_year5_count').change(function(){
        getTotalCount('topic_level1_','year1_count,year2_count,year3_count,year4_count,year5_count','total_count',false);
    });
    $('#topic_level1_year1_fund,#topic_level1_year2_fund,#topic_level1_year3_fund,#topic_level1_year4_fund,#topic_level1_year5_fund').change(function(){
        getTotalCount('topic_level1_','year1_fund,year2_fund,year3_fund,year4_fund,year5_fund','total_fund',true);
    });
    $('#topic_level2_year1_count,#topic_level2_year2_count,#topic_level2_year3_count,#topic_level2_year4_count,#topic_level2_year5_count').change(function(){
        getTotalCount('topic_level2_','year1_count,year2_count,year3_count,year4_count,year5_count','total_count',false);
    });
    $('#topic_level2_year1_fund,#topic_level2_year2_fund,#topic_level2_year3_fund,#topic_level2_year4_fund,#topic_level2_year5_fund').change(function(){
        getTotalCount('topic_level2_','year1_fund,year2_fund,year3_fund,year4_fund,year5_fund','total_fund',true);
    });
    $('#topic_level3_year1_count,#topic_level3_year2_count,#topic_level3_year3_count,#topic_level3_year4_count,#topic_level3_year5_count').change(function(){
        getTotalCount('topic_level3_','year1_count,year2_count,year3_count,year4_count,year5_count','total_count',false);
    });
    $('#topic_level3_year1_fund,#topic_level3_year2_fund,#topic_level3_year3_fund,#topic_level3_year4_fund,#topic_level3_year5_fund').change(function(){
        getTotalCount('topic_level3_','year1_fund,year2_fund,year3_fund,year4_fund,year5_fund','total_fund',true);
    });

    $('#research_team_count_stutas6,#research_team_count_stutas7,#research_team_count_stutas8').change(function(){
        getTotalCount('research_team_','count_stutas6,count_stutas7,count_stutas8','total',false);
    });
    //-------------计算合计------------------end

    /**
     ----------------------by zk
     描述：计算数值总数
     参数prefix：公共的id开头
     参数count：需要加的数的id结尾     以,分割
     参数total：总数id结尾
     参数isDeciaml：是否为小数 默认为false
     */
    function getTotalCount(prefix,count,total,isDecimal){
        var defaultIsDecimal = false;//默认为整数
        if(isDecimal==null){
            isDecimal = defaultIsDecimal;
        }
        var numStr = count.split(',');
        var totalCount = 0;//总数
        if(!isDecimal){
            for ( var int = 0; int < numStr.length; int++) {
                var num = $('#'+prefix+numStr[int]).val();
                if(!$.isNumeric(num))
                    num = "0";
                totalCount += parseInt(num);
            }
        }else {
            for ( var int = 0; int < numStr.length; int++) {
                var num = $('#'+prefix+numStr[int]).val();
                if(!$.isNumeric(num))
                    num = "0";
                totalCount += parseFloat(num);
            }
            totalCount = ((totalCount/100)*100).toFixed(2);
        }
        $('#'+prefix+total).val(totalCount);
    }


    function initTreeValueExt(treeId, treeNode) {
        if ((treeNode && treeNode.isParent)) {
            scmWarn("请选择具体的" + $("#" + treeId).attr("label"));
            $("#" + treeId).val("");
            $("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
            $("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId	+ "_value']").val("");
            $("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
            return false;
        }
        var str = treeNode.name;
        var obj = treeNode.parentNode;
        while (obj != null) {
            str = obj.name + "-" + str;
            obj = obj.parentNode;
        }

        $("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
    }

    function peo() {

        var year1_investment = $("#year1_investment").val();
        var year1_sales_proportion = $("#year1_sales_proportion").val();


        $("#year1_proportion").val(formatVal((year1_investment/year1_sales_proportion)*100)+"%");

    }
    function peo2() {
        var year2_investment = $("#year2_investment").val();
        var year2_sales_proportion = $("#year2_sales_proportion").val();

        $("#year2_proportion").val(formatVal((year2_investment/year2_sales_proportion)*100)+"%");

        /*  $("#technology_develop_proportion").val(formatVal((degree/staff)*100)+"%");*/
    }
    function peo3() {

        var year3_investment = $("#year3_investment").val();
        var year3_sales_proportion = $("#year3_sales_proportion").val();
        $("#year3_proportion").val(formatVal((year3_investment/year3_sales_proportion)*100)+"%");
        /*  $("#technology_develop_proportion").val(formatVal((degree/staff)*100)+"%");*/
    }

    function checkTabLimit1(tableId,max,message)
    {
        var maxLinNum=$("#"+tableId+" tr").length-2;
        maxLinNum = maxLinNum - $('div').find("[id^='checkbox_dyn_cooperatives']").length;
        if(maxLinNum>=max)
        {
            scmWarn(message);
            return false;
        }
        return true;
    }
    function setCkbVal1(obj){
        var chkName=obj.name;
        var str_value = "";
        var str_name = "";
        var text = "";
        $("input[name='" + chkName + "']:checked").each(function() {
            var val=$(this).val();
            str_value += "," +val;
            text = $.trim($(this).parent().text());
            str_name += "，" + text;
        });
        //console.log(str_value.substring(1)+"|"+str_name.substring(1));
        if (str_value.length > 0) {
            $("#"+chkName+"_value").val(str_value.substring(1));
            $("#"+chkName+"_name").val(str_name.substring(1));
        }else{
            $("#"+chkName+"_value").val('');
            $("#"+chkName+"_name").val('');
        }

    }
</script>